# -*- coding: utf-8 -*-

from flask import Flask
# pip install flask_restful
from flask_restful import Api, Resource, reqparse, inputs


class HelloWorld(Resource):
    def get(self):
        return {'hello': 'world'}

    def post(self):
        parser = reqparse.RequestParser()
        parser.add_argument()

        return


if __name__ == '__main__':
    app = Flask(__name__)
    api = Api(app)

    api.add_resource(HelloWorld, '/')

    app.debug = True
    app.run()
